from animal_demo import Animal

class Cat():
    long_or_short = "short"

    def run(self):
        print("猫会跑，会爬树")

    def __habit(self):
        print("猫喜欢抓鱼")

    def interface_cat(self):
        self.__habit()

    def introduce(self):
        print("我是一只猫")

    def fun(self,name,speak,habit):
        print("我是一只猫，我叫{}，我是这样叫的：{}，我喜欢吃{}".format(name,speak,habit))